﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Demo.Services.Contracts.DTO.Infos;
using Demo.Services.Services.Impl.DomainObjects;
using Demo.CommonBase.Logging;
using Demo.CommonBase.Exceptions;
using System.Reflection;

namespace Demo.Services.Services.Impl.Managers
{
    public class ReportManager
    {
        public IList<ProjectReportInfo> GetProject()
        {
            IList<ProjectReportInfo> result = null;
            ReportDomainObject reportdo;
            try
            {
                //Logger.Info();
                reportdo = new ReportDomainObject();
                result = reportdo.GetProject();
            }

            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new UnhandledException(MethodInfo.GetCurrentMethod(), ex);
            }
            return result;
        }
    }
}
